package org.example.pojo.View;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.example.configuration.CustomerDoubleSerialize;

@Data
@Schema(name = "水电视图AmountView" ,description = "水电视图数据对象")
public class AmountView {

    @Schema(description = "结算月份")
    private String month;

    @Schema(description = "人员工号")
    private String staffNo;

    @Schema(description = "水费")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double waterBill;

    @Schema(description = "电费")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double electricityBill;

    @Schema(description = "热水费")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double hotWaterBill;

//    @Schema(description = "总费用")
//    @JsonSerialize(using = CustomerDoubleSerialize.class)
//    private Double totalBill;

}
